﻿/*
 * FancyScrollView (https://github.com/setchi/FancyScrollView)
 * Copyright (c) 2020 setchi
 * Licensed under MIT (https://github.com/setchi/FancyScrollView/blob/master/LICENSE)
 */


using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "StageData", menuName = "StageData", order = 0)]
public class StageData : ScriptableObject 
{
    public int Index;
    public string Title;
    public string Description;
    public Texture Texture;
    public bool IsFinish;

    public float InitSpeed;
    public int InitLenth;
    public GameObject StagePrefab;
    public GameObject Confiner;

    public bool NeedChange2Win = false;

    public List<PropDataData> propDatas;
}

[System.Serializable]
public class PropDataData
{
    public PropData propData;

    public int number;

    public PropDataData(PropData propData, int number)
    {
        this.propData = propData;
        this.number = number;
    }
}